package kr.hkit.PowerJava.chapter05;

import java.util.Scanner;

public class JanDon {
   public static void main(String args[]){
	   Scanner input = new Scanner(System.in);
	   int x;
	   int y;
	   System.out.println("받은 돈");
       x = input.nextInt();
       System.out.println("상품의 총액");
       y = input.nextInt();
       System.out.println("받은 돈"+x);
       System.out.println("상품의 총액"+y);
       System.out.println("부가세"+(y/10));
       System.out.println("잔돈"+(x-y));
     }
   }
